package com.android.rotary

import android.app.Application
import com.dq.ad.AdManager
import com.dq.ad.UMManager
import com.module.rotary.config.RotaryManager

class App : Application() {

    override fun onCreate() {
        super.onCreate()
        /** 配置广告SDK **/
        AdManager.getInstance().initSDK(applicationContext, getString(R.string.CH_ID), getString(R.string.CP_ID), false, true)
        /** 配置友盟SDK **/
        UMManager.init(this, getString(R.string.UMENG_KEY), getString(R.string.UMENG_CHANNEL))
        /** 配置数据库 **/
        RotaryManager.getInstance().init(this)
    }
}